package summer.codegenerator.dto;

import java.io.Serializable;
import java.util.List;

import summer.codegenerator.persistence.hibernate.base.tool.Pagination;

/**
 * 通用列表数据参数
 * 
 * @author 蒋振
 * @since 2019年7月3日 上午10:28:59
 */
public class ListParam implements Serializable {

	private static final long serialVersionUID = 1L;

	private String modelName;

	private Object condition;

	private List<OrderModel> orders;

	private Pagination pagination;

	public String getModelName() {
		return modelName;
	}

	public void setModelName(String modelName) {
		this.modelName = modelName;
	}

	public Object getCondition() {
		return condition;
	}

	public void setCondition(Object condition) {
		this.condition = condition;
	}

	public List<OrderModel> getOrders() {
		return orders;
	}

	public void setOrders(List<OrderModel> orders) {
		this.orders = orders;
	}

	public Pagination getPagination() {
		return pagination;
	}

	public void setPagination(Pagination pagination) {
		this.pagination = pagination;
	}
}
